﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using NLog;

namespace Aierp
{
    public class NLogRecord
    {
        public static Logger Log = LogManager.GetCurrentClassLogger();

        public void Run()
        {
            Log.Info("普通信息日志-----------");
            Log.Debug("调试日志-----------");
            Log.Error("错误日志-----------");
            Log.Fatal("异常日志-----------");
            Log.Warn("警告日志-----------");
            Log.Trace("跟踪日志-----------");
            Log.Log(LogLevel.Warn, "Log日志------------------");

        }
    }
}
